<div class="col-sm-12 mt20">
  
  <div class="panel panel-default">
    <div class="panel-body">

      <div class="col-sm-12" style="font-size:16px">
        <label class="col-sm-3 control-label">渠道名称 : <b class="ng-binding">{{obj.name}}</b></label>
        <label class="col-sm-3 control-label">渠道编号 : <b class="ng-binding">{{obj.code}}</b></label>
        <label class="col-sm-2 control-label pull-right">
          <button type="button" class="btn btn-info form-control" ng-click="back()">返回渠道列表</button>
        </label>
        <label class="col-sm-2 control-label pull-right">
          <button type="button" class="btn btn-info form-control" ng-click="addSaleType()">添加销售品</button>
        </label>
      </div>
      
    </div>
  </div>

  
  <div class="panel panel-default">
    <div class="panel-body">
      <table class="table table-striped table-bordered dataTable table-condensed tree_table">
        <thead>
          <tr>
            <th style="width: 13%; text-align:center">产品名称</th>
            <th style="width: 10%; text-align:center">产品编号</th>
            <th style="width: 14%; text-align:center">价格</th>
            <th style="width: 8%; text-align:center">产品分类</th>
            <th style="width: 7%; text-align:center">产品状态</th>
            <th style="width: 8%; text-align:center">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in sale_list">
            <td class="text-center">{{info.name}}</td>
            <td class="text-center">{{info.code}}</td>
            <td class="text-center">市场价:{{info.market_price}} / 指导价:{{info.guide_price}}</td>
            <td class="text-center">{{info.sale_category_name}}</td>
            <td class="text-center">{{info.sale_apply_state_name}}</td>
            <td class="text-center">
              <button type="button" class="btn btn-danger btn-xs" ng-click="delete(info)">删除</button>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="text-right" style="background-color: white">
        <pagination total-items="totalItems" ng-model="currentPage" ng-change="loadSaleList(currentPage)" previous-text="上一页"
          next-text="下一页" first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false"
          items-per-page="itemsPerPage" class="pagination pagination-sm m-t-none m-b-none"></pagination>
      </div>
    </div>
  </div>

</div>